import Vue from "vue"
import Vuex from 'vuex'

import cartModule from './modules/cart.js'
import userModule from './modules/user.js'
Vue.use(Vuex)

const store = new Vuex.Store({
    modules: {
        cart: cartModule,
        user: userModule
    }
})

export default store